package com.yan.design.two.behavior.s7;

import lombok.Data;

/**
 * 7. 备忘录模式
 *
 * @author shengren.yan
 * @create 2022-08-13
 */
@Data
public class Memento {

    // 攻击力
    private int vit;
    // 防御力
    private int det;

    public Memento(int v,int d){
        this.vit = v;
        this.det = d;
    }

}
